package com.bank.backend.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "bank.jwt")
@Data
public class JwtProperties {

    /**
     * JWT令牌相关配置
     */
    private long ttl;

    private String tokenName;

    private String secretKey;

} 